//
//  NSString+Fly.h
//  PartyBuildingCloud
//
//  Created by lifayu on 16/9/30.
//  Copyright © 2016年 贵阳飞云科技有限公司. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Fly)

+ (NSString *)md5String:(NSString *)str;

- (NSString *)md5;

//验证身份账号码格式是否正确 不考虑15位的身份证号码
+ (BOOL)validateIDCardNumber:(NSString *)identityCard;

/**
 *  URLEncode
 */
- (NSString *)URLEncodedString;

/**
 *  URLDecode
 */
-(NSString *)URLDecodedString;

@end
